package cn.kkcxy.blog.core.vo.admin.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.core.vo.admin.system
 * @Author: kkcxy
 * @CreateTime: 2024-11-18 00:05
 * @Description: 简易用户信息VO
 * @Version: 1.0
 */
@Data
@Schema(description = "简易角色信息VO")
public class SimpleUserInfoVO implements Serializable {

    /**
     * 用户编号
     */
    @Schema(description = "用户编号")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 账号名
     */
    @Schema(description = "账号名")
    private String nickName;

    /**
     * 账号
     */
    @Schema(description = "账号")
    private String username;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String phone;

    /**
     * 性别
     */
    @Schema(description = "性别")
    private Integer sex;

    /**
     * 用户状态
     */
    @Schema(description = "用户状态")
    private Integer status;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createdTime;

    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    private String roleName;
}
